package com.yunyike.app.data.service;

import java.util.List;

import com.yunyike.app.data.model.Merchandise;

public interface IMerchandiseService {

public Merchandise findMerchandiseByNumber(String number);
	
	public Merchandise findMerchandiseById(String merchandiseId);
	
	public Merchandise findMerchandiseByBarCode(String barCode);
	
	public int addMerchandise(Merchandise merchandise);
	
	public int updateMerchandise(Merchandise merchandise);
	
	public List<Merchandise> findMerchandiseByIds(List<Merchandise> merchandiseList);
	
	public List<Merchandise> findMerchandiseByShop(String shopId);
	
	public List<Merchandise> findMerchandiseByCondition(String shopId,double weight);
	
	public List<Merchandise> findMerchandises();
}
